*{
    margin: 0;
    padding: 0;
}
.ms{
    width: 100%;
    height: 1000px;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
}
.ms-head{
    width: 100%;
    height: 170px;
    background: url(https://meng-clb.github.io/xiaomi/images/header.jpg) no-repeat 50% 0;
}
.con-box{
    width: 1226px;
    display: flex;
    flex-wrap: wrap;
}
.ms-nav{
    width: 100%;
    margin-top: -68px;
    display: flex;
    align-items: center;
}
.ms-nav a{
    text-decoration: none;
    color: white;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.ms-nav ul{
    width: 100%;
    
    height: 68px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.ms-nav li{
    width: 20%;
    list-style: none;
    background-color: #414141;
    height: 100%;
}
.first{
    width: 1226px;
    height: 600px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;


    
}
.second,.third,.fouth,.fifth{
    width: 1226px;
    height: 600px;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    display: none;

    
}
.ms-con-box{       /* 抢购盒子 */
    width: 400px;
    height: 190px;
    display: flex;
    justify-content: space-between;
}
.ms-con-box-photo{    /* 抢购图片*/
    width: 190px;
    height: 190px;

    overflow: hidden;
}
.ms-con-box-photo img{
    width: 100%;
    height: 100%;
    
}
.ms-con-box-text{    /* 商品信息 */
    /* margin-left: 210px; */
    width: 190px;
    height: 190px;
    /* border: 1px solid black; */
    padding-top: 30px; 
    
}
.ms-con-box-text a{
    text-decoration: none;
}
.ms-con-box-text .name {   /* 商品名字 */
    font-size: 16px;
    color: #333;
    height: 16px;
    line-height: 16px;
    display: block;
    overflow: hidden;
}
.ms-con-box-text .tips{   /* 提示 */
    font-size: 12px;
    line-height: 12px;
    color: #b0b0b0;
    margin-top: 10px;
}
.ms-con-box-text .price{   /* 抢购价格 */
    font-size: 16px;
    line-height: 16px;
    color: #f1393a;
    margin-top: 14px;
    margin-bottom: 0;
}
.ms-con-box-text .price del {  /* 原价 */
    color: #999;
    font-size: 12px;
    line-height: 12px;
    margin-left: 10px;
}
.ms-con-box-text .btn-1 {     /* 抢购按钮 */
    display: inline-block; 
    width: 118px;
    height: 28px;
    font-size: 14px;
    color: #fff;
    line-height: 28px;
    text-align: center;
    background-color: #f1393a;
    border: 1px solid #f1393a;
    margin-top: 19px;
}
.ms-con-box-text .person {    /* 提醒文字 */
    font-size: 12px;
    line-height: 12px;
    color: #999;
    margin-top: 10px;
}
.ms-notice{
    width: 1226px;
    font-size: 12px;
    color: #999;
    margin-top: 100px;
    margin-bottom: 30px;
}
.ms-con-box-photo :hover{
    transform: scale(1.2);
    transition: all 0.5s;
}